import { _decorator, Component, Node, EventTarget } from 'cc';
import { TaskController } from './TaskController';
import { eventTarget } from '../../util/EventUtil';
const { ccclass, property } = _decorator;

@ccclass('FootprintTaskController')
export class FootprintTaskController extends TaskController {
    protected onLoad(): void {
        eventTarget.on("footprint", this.customEventListener, this)
    }
    
    start() {
        
    }

    update(deltaTime: number) {
        
    }

    protected customLoadPrefabCell(prefabPath: string, data: object): void {
    }

    protected customEventListener(prefabPath: string, data: object): void {
        console.log("customEventListener")
    }
}


